<!--
 * @Description: In User Settings Edit
 * @Author: wuxiandashu
 * @LastEditors: Please set LastEditors
 * @Date: 2019-03-17 13:11:27
 * @LastEditTime: 2019-03-17 13:33:57
 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>河南科技大学交互接口开放文档</title>
    <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>

</head>
<body>
    <div id="content"></div>
    <script>
         $.ajax({
       url: "README.md",//文件位置
       type: "GET",//请求方式为get
       dataType: "text", 
       success: function(data) {//请求成功完成后要执行的方法
           $("#content").html(marked(data));
       }
    })
        // document.getElementById('content').innerHTML = marked("");
        // $.get("README.md", function(response, status, xhr){
        //     $("#content").html(marked(response));
        //     });
    </script>
</body>
</html>